export interface VmsUser {
  id: string;
  email: string;
  password?: string;
  name: string;
  zcsj: Date;
  status: 'active' | 'inactive';
  roles: string;
  ai_count: number;
  copy_count: number;
  script_count: number;
  topic_count: number;
  voice_count: number;
  subtitle_count: number;
  ai_count_limit: number;
  createdAt?: Date;
  updatedAt?: Date;
}

export interface VmsTopic {
  id: string;
  cjsj?: Date;
  copy_finished_num?: number;
  copy_num?: number;
  custom?: string;
  is_finished?: boolean;
  name?: string;
  outline?: string;
  pxh?: number;
  status?: string;
  target?: string;
  user_id?: string;
  advantage?: string;
  title?: string;
  description?: string;
  created_at?: Date;
  copies?: VmsCopy[];
}

export interface VmsCopy {
  id: string;
  cjsj?: Date;
  content?: string;
  finished_script_num?: number;
  intro?: string;
  pxh?: number;
  script_num?: number;
  status?: string;
  task_pxh?: number;
  title?: string;
  topic_id?: string;
  topic_name?: string;
  user_id?: string;
  rich_content?: string;
  copykeywords?: string;
  ppt_content?: string;
  topic?: VmsTopic;
}

export interface VmsScript {
  id: string;
  bz?: string;
  caption?: string;
  cch?: string;
  content?: string;
  copy_id?: string;
  copy_name?: string;
  finished?: boolean;
  location?: string;
  plot?: string;
  psh?: number;
  pxh?: number;
  scene?: number;
  shot?: number;
  shot_angle?: string;
  shot_move?: string;
  shot_size?: string;
  user_id?: string;
}

export interface AiScript {
  copy_id?: string;
  caption?: string;
  content?: string;
  location?: string;
  plot?: string;
  shot_angle?: string;
  shot_move?: string;
  shot_size?: string;
}


export interface VmsMusic {
  id: string;
  audio_url?: string;
  author?: string;
  duration?: string;
  image_large_url?: string;
  image_url?: string;
  mood_style?: string;
  music_size?: string;
  music_status?: string;
  music_type?: string;
  remark?: string;
  score?: number;
  storage_location?: string;
  tags?: string;
  theme?: string;
  title?: string;
  video_url?: string;
  create_time?: Date;
  update_time?: Date;
}


export interface VmsAsr {
  id: string;
  filekey?: string;
  status?: string;
  create_time?: Date;
  subtitle_text?: string;
  task_id?: bigint;
  userid?: string;
}
